package com.dynamic.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dynamic.dao.UserDao;
import com.dynamic.pojo.User;
import com.dynamic.service.UserService;

@Service("userService")
public class UserServiceImpl implements UserService {

	@Autowired
	private UserDao userDao;
	
	public User getTest1UserById(int userId) {
		return this.userDao.getById(userId);
	}
	public User getTest2UserById(int userId) {
		return this.userDao.getById(userId);
	}

}
